home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / DCLAP 4j / Dmake / mac-thc / makeall.thc < prev    next >
Encoding:
Text File  |  1995-12-17  |  5.8 KB  |  226 lines  |  [TEXT/R*ch]

  1. Under THINK C 6.0, all subprojects should have the SIZE Flags set to 5880,
  2. and should have the Far Data option checked.  No optimizations are currently
  3. used.  Unless stated otherwise below, the Prefix option should be empty;
  4. ThinkC inserts "include <MacHeaders>" by default, and this should be removed.
  5.  
  6. In the corelib directory, rename the ncbilcl.thc file as ncbilcl.h,
  7. and rename the ncbienv.mac file as ncbienv.c.  Assign files to separate
  8. projects as follows:
  9.  
  10. AccLib    accentr.c
  11. AccLib    accutils.c
  12.  
  13. ApiLibA   seqport.c
  14. ApiLibA   simple.c
  15. ApiLibA   tofasta.c
  16. ApiLibA   tofile.c
  17. ApiLibA   tomedlin.c
  18.  
  19. ApiLibB   sequtil.c
  20.  
  21. ApiLibD   toreport.c
  22.  
  23. ApiLibE   tognbk1.c
  24.  
  25. ApiLibF   tognbk2.c
  26.  
  27. ApiLibG   tognbk3.c
  28.  
  29. AsnLibA   asndebin.c
  30. AsnLibA   asnenbin.c
  31. AsnLibA   asngen.c
  32. AsnLibA   asnio.c
  33. AsnLibA   asnlex.c
  34.  
  35. AsnLibB   asnlext.c
  36. AsnLibB   asnout.c
  37. AsnLibB   asnprint.c
  38. AsnLibB   asntypes.c
  39.  
  40. CdrLibA   casn.c
  41. CdrLibA   cdconfig.c
  42. CdrLibA   cdentrez.c
  43.  
  44. CdrLibB   cdromlib.c
  45.  
  46. CorLibA   ncbibs.c
  47. CorLibA   ncbienv.c
  48. CorLibA   ncbierr.c
  49. CorLibA   ncbifile.c
  50. CorLibA   ncbimem.c
  51. CorLibA   ncbimisc.c
  52. CorLibA   ncbistr.c
  53. CorLibA   ncbitime.c
  54. CorLibA   ncbisgml.c
  55. CorLibA   ncbiprop.c
  56.  
  57. CorLibB   ncbimath.c
  58.  
  59. ObjLibA   objalign.c
  60. ObjLibA   objbibli.c
  61.  
  62. ObjLibB   objacces.c
  63. ObjLibB   objfeat.c
  64.  
  65. ObjLibC   objcode.c
  66. ObjLibC   objloc.c
  67. ObjLibC   objsset.c
  68. ObjLibC   objsub.c
  69.  
  70. ObjLibD   objseq.c
  71. ObjLibD   objblock.c
  72.  
  73. ObjLibE   objall.c
  74. ObjLibE   objgen.c
  75. ObjLibE   objmedli.c
  76. ObjLibE   objpub.c
  77. ObjLibE   objres.c
  78.  
  79. VibLibA   viblists.c
  80. VibLibA   vibwndws.c
  81.  
  82. VibLibB   vibbutns.c
  83. VibLibB   vibmenus.c
  84.  
  85. VibLibC   vibslate.c
  86. VibLibC   vibtexts.c
  87.  
  88. VibLibD   ncbidraw.c
  89. VibLibD   vibutils.c
  90.  
  91. VibLibE   vibextra.c
  92. VibLibE   vibfiles.c
  93. VibLibE   vibgroup.c
  94. VibLibE   vibprmpt.c
  95. VibLibE   vibsbars.c
  96.  
  97. PanelsA   drawing.c
  98. PanelsA   mapping.c
  99. PanelsA   picture.c
  100. PanelsA   viewer.c
  101.  
  102. PanelsB   document.c
  103.  
  104. PanelsC   palette.c
  105. PanelsC   table.c
  106.  
  107. All projects are under 32 K, and therefore they can be loaded as individual
  108. segments in another project.  Note that the functions in ncbimain.c and
  109. ncbimsg.c are implemented in vibwndws.c, and thus the original corelib files
  110. should not be included in the CoreLib project under THINK C.  (To make a
  111. non-Vibrant version of some of the demonstration programs, you would need to
  112. rename ncbimain.mac to ncbimain.c.)
  113.  
  114. The segment assignment for Entrez should be as follows:
  115.  
  116. -----------
  117. ANSI
  118. -----------
  119. MacTraps
  120. MacTraps2
  121. unix
  122. -----------
  123. The above projects, each in a separate segment.
  124. -----------
  125. avail.c
  126. browser.c
  127. chosen.c
  128. -----------
  129. fetch.c
  130. -----------
  131. report.c
  132. -----------
  133.  
  134. PrGlue was needed in THINK C 5.0, but is removed in THINK C 6.0.
  135.  
  136. The remaining demonstration programs should be compiled as separate
  137. projects, each of which includes the necessary libraries.
  138.  
  139.  
  140.  
  141. To create Network Entrez, the AccLib library must not appear in the link,
  142. and the following libraries must also be included in your link module
  143. (augmenting the Entrez requirements listed above):
  144.  
  145. NetEntA   netentr.c
  146. NetEntA   netlib.c
  147.  
  148. NetEntB   objneten.c
  149.  
  150. NetCli    ni_error.c
  151. NetCli    ni_lib.c
  152. NetCli    ni_list.c
  153. NetCli    ni_msg.c
  154.  
  155. In THINK C 6.0, the NcsaSock library must contain the statement
  156.        #define _GestaltDispatch 0xA0AD
  157. in its THINK C "prefix".
  158.  
  159. NcsaSock  dnr.c
  160. NcsaSock  dprintf.c
  161. NcsaSock  netdb.c
  162. NcsaSock  rexec.c
  163. NcsaSock  socket.c
  164. NcsaSock  sock_std.c
  165. NcsaSock  sock_tcp.c
  166. NcsaSock  sock_udp.c
  167. NcsaSock  sock_utl.c
  168. NcsaSock  syslog.c
  169. NcsaSock  tcpglue.c
  170. NcsaSock  unixlib.c
  171.  
  172. In addition, there must be another project included called
  173.        NAccLib
  174.  
  175. This library should consist of the same modules as AccLib, but must contain
  176. the statement
  177.        #define _NETENT_
  178. in its THINK C "prefix".
  179.  
  180. To create a combined Network/CD-ROM Entrez, use the same files as for
  181. the Network Entrez project, only replace the NAccLib project with another
  182. project called CAccLib, which is the same as AccLib but with the statement
  183.        #define _NET_AND_CD_
  184. in its THINK C "prefix".
  185.  
  186.  
  187. Also note several important items about the NcsaSock and NetCli libraries:
  188.    1) Not all of the necessary files are to be found in the distribution
  189.       tree, because some files are copyright by Apple. The copyright files
  190.       may be copied individually by each developer from the MacTCP
  191.       Developer Disk into the network:apple folder. The files to be copied
  192.       are:
  193.  
  194.         dnr.c
  195.         AddressXlation.h
  196.         GetMyIPAddr.h
  197.         MacTCPCommonTypes.h
  198.         TCPPB.h
  199.         UDPPB.h
  200.     2) Because it is undesirable to modify this Apple source code, the
  201.        NcsaSock library must be compiled with the "Strict Prototype Enforcement"
  202.        Language Setting disabled. Most other libraries should be compiled
  203.        with this option enabled, and the "Require Prototypes" sub-option
  204.        selected.
  205.     3) The NetCli library should be compiled with the "Strict Prototype
  206.        Enforcement" Language Setting enabled, but with the "Infer Prototypes"
  207.        sub-option selected.
  208.     4) The NcsaSock library must be compiled with the 4-byte-integer option
  209.        enabled. All other libraries may be compiled with either the 2-byte
  210.        or 4-byte integer options, although all other libraries must be
  211.        consistent with one another. I.e., either all libraries (including
  212.        NcsaSock) must be compiled with 4-byte integers, or all libraries except
  213.        NcsaSock must be compiled with 2-byte integers, and the NcsaSock
  214.        library must be compiled with 4-byte integers. Note that the libraries
  215.        (ANSI, etc.) must be compiled with the same size integers as the
  216.        other non-NcsaSock projects.
  217.  
  218.  
  219.  
  220. To create the Network Entrez configuration program, use the same libraries
  221. and procedures as for creating Network Entrez, but replace the browser
  222. files (avail.c, browser.c, chosen.c, fetch.c, and report.c) with entrezcf.c
  223. (which must reside in its own segment), and add the following to the Think C
  224. "prefix".
  225.        #define NETWORK_SUPPORTED
  226.